package com.leaf.spring.y201906.day25.arithmetic.round;

public class Weight {

	private String ip; // 服务ip

	private Integer weight; // 服务权重

	private Integer currentWeight; // 服务当前权重（动态的）

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public Integer getCurrentWeight() {
		return currentWeight;
	}

	public void setCurrentWeight(Integer currentWeight) {
		this.currentWeight = currentWeight;
	}

	public Weight(String ip, Integer weight, Integer currentWeight) {
		super();
		this.ip = ip;
		this.weight = weight;
		this.currentWeight = currentWeight;
	}

}
